package com.smedi.ismedi.constructionproject.core.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @author Cookie
 * @Date 2022/7/18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PersonQuery {
    /**
     * id
     */
    private Long id;
    /**
     * id(范围)
     */
    private List<Long> ids;
    /**
     * 名称(模糊)
     */
    private String nameLike;
    /**
     * 角色名
     */
    private String roleName;
    /**
     * 角色名列表
     */
    private List<String> roleNames;
    /**
     * 组织id
     */
    private Long organizationId;
    /**
     * 组织id(范围)
     */
    private List<Long> organizationIds;
    @ApiModelProperty("项目id")
    private Long projectId;
}